<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="https://localhost/BackupService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/BackupContracts.Sql" />
  <xs:import schemaLocation="https://localhost/BackupService.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/BackupContracts.Tasks" />
  <xs:element name="CheckCredentials">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="CheckCredentialsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="CheckCredentialsResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpsertSqlServer">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/BackupContracts.Sql" minOccurs="0" name="sqlServer" nillable="true" type="q1:SqlServer" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpsertSqlServerResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteSqlServer">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="serverId" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteSqlServerResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="ListSqlServers">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="ListSqlServersResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/BackupContracts.Sql" minOccurs="0" name="ListSqlServersResult" nillable="true" type="q2:ArrayOfSqlServer" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ListDatabaseBackups">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="serverName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="databaseName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ListDatabaseBackupsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/BackupContracts.Sql" minOccurs="0" name="ListDatabaseBackupsResult" nillable="true" type="q3:ArrayOfSqlDatabaseBackup" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ListDatabaseBackupLogs">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="serverName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="databaseName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="backupId" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ListDatabaseBackupLogsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/BackupContracts.Sql" minOccurs="0" name="ListDatabaseBackupLogsResult" nillable="true" type="q4:ArrayOfSqlDatabaseBackupLog" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ListDatabases">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="serverName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ListDatabasesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/BackupContracts.Sql" minOccurs="0" name="ListDatabasesResult" nillable="true" type="q5:ArrayOfSqlDatabase" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPublicBlobUrl">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="blobUrl" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPublicBlobUrlResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="GetPublicBlobUrlResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ListSqlDatabases">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="serverId" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ListSqlDatabasesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/BackupContracts.Sql" minOccurs="0" name="ListSqlDatabasesResult" nillable="true" type="q6:ArrayOfSqlDatabase" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpsertTask">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/BackupContracts.Tasks" minOccurs="0" name="task" nillable="true" type="q7:Task" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpsertTaskResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteTask">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="taskId" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteTaskResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="ListTasks">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="ListTasksResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/BackupContracts.Tasks" minOccurs="0" name="ListTasksResult" nillable="true" type="q8:ArrayOfTask" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CopyAndBackupToBlob">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="serverName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="databaseName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="loginId" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="password" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="storageAccount" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="storageKey" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="container" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="maxHistory" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CopyAndBackupToBlobResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
</xs:schema>